package com.huilian.iotbox.data.enums;

import lombok.Getter;

@Getter
public enum MemberSortEnum {
    ASCENDING_ORDER(0,"正序"),
    DESCENDING_ORDER(1,"降序"),

    CUMULATIVE_CONSUMPTION(0,"累计消费排序"),
    SORT_BY_BALANCE(1,"余额排序"),
    COIN_SORT(2,"余币排序"),
    SPENDING_TIME(3,"最近消费时间排序"),

    CAST_CURRENCY_SORT(4,"投币排序"),
    ;

    private Integer code;
    private String desc;

    MemberSortEnum(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }
}
